package cn.iocoder.yudao.module.api.brokerage.user.message;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 推广关系解绑消息
 *
 * @author 山野羡民
 * @see BrokerageUserBindMessage
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BrokerageUserUnbindMessage {

    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @NotNull(message = "上级用户编号不能为空")
    private Long fatherUserId;

}
